<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
EscapingMode (Soy Complete)
</TITLE>


<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="EscapingMode (Soy Complete)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/DerivedTemplateUtils.html" title="class in com.google.template.soy.parsepasses.contextautoesc"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/SoyAutoescapeException.html" title="class in com.google.template.soy.parsepasses.contextautoesc"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../../index.html?com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="EscapingMode.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.google.template.soy.parsepasses.contextautoesc</FONT>
<BR>
Enum EscapingMode</H2>
<PRE>
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</A>&lt;<A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A>&gt;
      <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>com.google.template.soy.parsepasses.contextautoesc.EscapingMode</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A>&lt;<A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A>&gt;</DD>
</DL>
<HR>
<DL>
<DT><PRE>public enum <B>EscapingMode</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;<A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A>&gt;</DL>
</PRE>

<P>
Ways of escaping dynamic content in a template.
<P>

<P>
<HR>

<P>
<!-- =========== ENUM CONSTANT SUMMARY =========== -->

<A NAME="enum_constant_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Enum Constant Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#ESCAPE_CSS_STRING">ESCAPE_CSS_STRING</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Must escape all quotes, newlines, and the close parenthesis using <code>\</code> followed by hex
 followed by a space.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#ESCAPE_HTML">ESCAPE_HTML</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encodes HTML special characters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#ESCAPE_HTML_ATTRIBUTE">ESCAPE_HTML_ATTRIBUTE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encodes HTML special characters, including quotes, so that the value can appear as part of a
 quoted attribute value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#ESCAPE_HTML_ATTRIBUTE_NOSPACE">ESCAPE_HTML_ATTRIBUTE_NOSPACE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encodes HTML special characters and spaces so that the value can appear as part of an unquoted
 attribute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#ESCAPE_HTML_RCDATA">ESCAPE_HTML_RCDATA</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Like <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#ESCAPE_HTML"><CODE>ESCAPE_HTML</CODE></A> but normalizes known safe HTML since RCDATA can't contain tags.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#ESCAPE_JS_REGEX">ESCAPE_JS_REGEX</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Like <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#ESCAPE_JS_STRING"><CODE>ESCAPE_JS_STRING</CODE></A> but additionally escapes RegExp specials like
 <code>.+*?$^[](){}</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#ESCAPE_JS_STRING">ESCAPE_JS_STRING</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encode all HTML special characters and quotes, and JS newlines as if to allow them to appear
 literally in a JS string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#ESCAPE_JS_VALUE">ESCAPE_JS_VALUE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If a number or boolean, output as a JS literal.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#ESCAPE_URI">ESCAPE_URI</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Percent encode all URI special characters and characters that cannot appear unescaped in a URI
 such as spaces.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#FILTER_CSS_VALUE">FILTER_CSS_VALUE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the value is numeric, renders it as a numeric value so that <code>{$n}px</code> works as
 expected, otherwise if it is a valid CSS identifier, outputs it without escaping, otherwise
 replaces with "zSoyz" to indicate the value was rejected.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#FILTER_HTML_ATTRIBUTES">FILTER_HTML_ATTRIBUTES</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Only allow a valid identifier - letters, numbers, dashes, and underscores
 or a subset of attribute value pairs.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#FILTER_HTML_ELEMENT_NAME">FILTER_HTML_ELEMENT_NAME</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Only allow a valid identifier - letters, numbers, dashes, and underscores.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#FILTER_NORMALIZE_URI">FILTER_NORMALIZE_URI</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Like <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#NORMALIZE_URI"><CODE>NORMALIZE_URI</CODE></A>, but filters out schemes like <code>javascript:</code> that load code.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#NO_AUTOESCAPE">NO_AUTOESCAPE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The explicit rejection of escaping.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#NORMALIZE_URI">NORMALIZE_URI</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Percent encode non-URI characters that cannot appear unescaped in a URI such as spaces, and
 encode characters that are not special in URIs that are special in languages that URIs are
 embedded in such as parentheses and quotes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#TEXT">TEXT</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Outputs plain text and performs no escaping.</TD>
</TR>
</TABLE>
&nbsp;<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../com/google/template/soy/data/SanitizedContent.ContentKind.html" title="enum in com.google.template.soy.data">SanitizedContent.ContentKind</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#contentKind">contentKind</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The kind of content produced by the escaping directive associated with this escaping mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#directiveName">directiveName</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Soy <code>{print}</code> directive that specifies this escaping mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#isHtmlEmbeddable">isHtmlEmbeddable</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True iff the output does not contain quotes so can be embedded in HTML attribute values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#isInternalOnly">isInternalOnly</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether this directive is only for internal use by the contextual autoescaper.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#fromDirective(java.lang.String)">fromDirective</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;directiveName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The escaping mode corresponding to the given directive or null.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the enum constant of this type with the specified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#values()">values</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing the constants of this enum type, in
the order they are declared.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ ENUM CONSTANT DETAIL =========== -->

<A NAME="enum_constant_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Enum Constant Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="ESCAPE_HTML"><!-- --></A><H3>
ESCAPE_HTML</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>ESCAPE_HTML</B></PRE>
<DL>
<DD>Encodes HTML special characters.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="ESCAPE_HTML_RCDATA"><!-- --></A><H3>
ESCAPE_HTML_RCDATA</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>ESCAPE_HTML_RCDATA</B></PRE>
<DL>
<DD>Like <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#ESCAPE_HTML"><CODE>ESCAPE_HTML</CODE></A> but normalizes known safe HTML since RCDATA can't contain tags.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="ESCAPE_HTML_ATTRIBUTE"><!-- --></A><H3>
ESCAPE_HTML_ATTRIBUTE</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>ESCAPE_HTML_ATTRIBUTE</B></PRE>
<DL>
<DD>Encodes HTML special characters, including quotes, so that the value can appear as part of a
 quoted attribute value.
 This differs from <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#ESCAPE_HTML"><CODE>ESCAPE_HTML</CODE></A> in that it strips tags from known safe HTML.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="ESCAPE_HTML_ATTRIBUTE_NOSPACE"><!-- --></A><H3>
ESCAPE_HTML_ATTRIBUTE_NOSPACE</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>ESCAPE_HTML_ATTRIBUTE_NOSPACE</B></PRE>
<DL>
<DD>Encodes HTML special characters and spaces so that the value can appear as part of an unquoted
 attribute.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="FILTER_HTML_ELEMENT_NAME"><!-- --></A><H3>
FILTER_HTML_ELEMENT_NAME</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>FILTER_HTML_ELEMENT_NAME</B></PRE>
<DL>
<DD>Only allow a valid identifier - letters, numbers, dashes, and underscores.
 Throw a runtime exception otherwise.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="FILTER_HTML_ATTRIBUTES"><!-- --></A><H3>
FILTER_HTML_ATTRIBUTES</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>FILTER_HTML_ATTRIBUTES</B></PRE>
<DL>
<DD>Only allow a valid identifier - letters, numbers, dashes, and underscores
 or a subset of attribute value pairs.
 Throw a runtime exception otherwise.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="ESCAPE_JS_STRING"><!-- --></A><H3>
ESCAPE_JS_STRING</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>ESCAPE_JS_STRING</B></PRE>
<DL>
<DD>Encode all HTML special characters and quotes, and JS newlines as if to allow them to appear
 literally in a JS string.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="ESCAPE_JS_VALUE"><!-- --></A><H3>
ESCAPE_JS_VALUE</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>ESCAPE_JS_VALUE</B></PRE>
<DL>
<DD>If a number or boolean, output as a JS literal.  Otherwise surround in quotes and escape.
 Make sure all HTML and space characters are quoted.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="ESCAPE_JS_REGEX"><!-- --></A><H3>
ESCAPE_JS_REGEX</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>ESCAPE_JS_REGEX</B></PRE>
<DL>
<DD>Like <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#ESCAPE_JS_STRING"><CODE>ESCAPE_JS_STRING</CODE></A> but additionally escapes RegExp specials like
 <code>.+*?$^[](){}</code>.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="ESCAPE_CSS_STRING"><!-- --></A><H3>
ESCAPE_CSS_STRING</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>ESCAPE_CSS_STRING</B></PRE>
<DL>
<DD>Must escape all quotes, newlines, and the close parenthesis using <code>\</code> followed by hex
 followed by a space.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="FILTER_CSS_VALUE"><!-- --></A><H3>
FILTER_CSS_VALUE</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>FILTER_CSS_VALUE</B></PRE>
<DL>
<DD>If the value is numeric, renders it as a numeric value so that <code>{$n}px</code> works as
 expected, otherwise if it is a valid CSS identifier, outputs it without escaping, otherwise
 replaces with "zSoyz" to indicate the value was rejected.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="ESCAPE_URI"><!-- --></A><H3>
ESCAPE_URI</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>ESCAPE_URI</B></PRE>
<DL>
<DD>Percent encode all URI special characters and characters that cannot appear unescaped in a URI
 such as spaces.  Make sure to encode pluses and parentheses.
 This corresponds to the JavaScript function <code>encodeURIComponent</code>.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="NORMALIZE_URI"><!-- --></A><H3>
NORMALIZE_URI</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>NORMALIZE_URI</B></PRE>
<DL>
<DD>Percent encode non-URI characters that cannot appear unescaped in a URI such as spaces, and
 encode characters that are not special in URIs that are special in languages that URIs are
 embedded in such as parentheses and quotes.
 This corresponds to the JavaScript function <code>encodeURI</code> but additionally encodes quotes
 parentheses, and percent signs that are not followed by two hex digits.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="FILTER_NORMALIZE_URI"><!-- --></A><H3>
FILTER_NORMALIZE_URI</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>FILTER_NORMALIZE_URI</B></PRE>
<DL>
<DD>Like <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html#NORMALIZE_URI"><CODE>NORMALIZE_URI</CODE></A>, but filters out schemes like <code>javascript:</code> that load code.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="NO_AUTOESCAPE"><!-- --></A><H3>
NO_AUTOESCAPE</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>NO_AUTOESCAPE</B></PRE>
<DL>
<DD>The explicit rejection of escaping.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="TEXT"><!-- --></A><H3>
TEXT</H3>
<PRE>
public static final <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>TEXT</B></PRE>
<DL>
<DD>Outputs plain text and performs no escaping. Unlike noAutoescape, this will not fail if passed
 SanitizedContent of kind TEXT, but this may never be used manually by the developer. This has
 no escaping.
<P>
<DL>
</DL>
</DL>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="directiveName"><!-- --></A><H3>
directiveName</H3>
<PRE>
public final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>directiveName</B></PRE>
<DL>
<DD>The Soy <code>{print}</code> directive that specifies this escaping mode.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="isHtmlEmbeddable"><!-- --></A><H3>
isHtmlEmbeddable</H3>
<PRE>
public final boolean <B>isHtmlEmbeddable</B></PRE>
<DL>
<DD>True iff the output does not contain quotes so can be embedded in HTML attribute values.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="contentKind"><!-- --></A><H3>
contentKind</H3>
<PRE>
<FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</A>
</FONT>public final <A HREF="../../../../../../com/google/template/soy/data/SanitizedContent.ContentKind.html" title="enum in com.google.template.soy.data">SanitizedContent.ContentKind</A> <B>contentKind</B></PRE>
<DL>
<DD>The kind of content produced by the escaping directive associated with this escaping mode.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="isInternalOnly"><!-- --></A><H3>
isInternalOnly</H3>
<PRE>
public final boolean <B>isInternalOnly</B></PRE>
<DL>
<DD>Whether this directive is only for internal use by the contextual autoescaper.
<P>
<DL>
</DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="values()"><!-- --></A><H3>
values</H3>
<PRE>
public static <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A>[] <B>values</B>()</PRE>
<DL>
<DD>Returns an array containing the constants of this enum type, in
the order they are declared.  This method may be used to iterate
over the constants as follows:
<pre>
for (EscapingMode c : EscapingMode.values())
&nbsp;   System.out.println(c);
</pre>
<P>
<DD><DL>

<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
the order they are declared</DL>
</DD>
</DL>
<HR>

<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
valueOf</H3>
<PRE>
public static <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>valueOf</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
<DL>
<DD>Returns the enum constant of this type with the specified name.
The string must match <I>exactly</I> an identifier used to declare an
enum constant in this type.  (Extraneous whitespace characters are 
not permitted.)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
<DT><B>Returns:</B><DD>the enum constant with the specified name
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constant
with the specified name
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the argument is null</DL>
</DD>
</DL>
<HR>

<A NAME="fromDirective(java.lang.String)"><!-- --></A><H3>
fromDirective</H3>
<PRE>
<FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</A>
</FONT>public static <A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" title="enum in com.google.template.soy.parsepasses.contextautoesc">EscapingMode</A> <B>fromDirective</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;directiveName)</PRE>
<DL>
<DD>The escaping mode corresponding to the given directive or null.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/DerivedTemplateUtils.html" title="class in com.google.template.soy.parsepasses.contextautoesc"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../com/google/template/soy/parsepasses/contextautoesc/SoyAutoescapeException.html" title="class in com.google.template.soy.parsepasses.contextautoesc"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../../index.html?com/google/template/soy/parsepasses/contextautoesc/EscapingMode.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="EscapingMode.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

        
          <div id="footer">
            <div id="footerlogo" style="float:left">
              <img src="http://www.google.com/images/art.gif"
                   alt="Google colored balls">
            </div>
            <div id="copyright" style="float:left">
              <p>
                &copy; 2009 Google -
                <a href="http://www.google.com/privacy.html">Privacy Policy</a> -
                <a href="http://www.google.com/terms_of_service.html">Terms and Conditions</a> -
                <a href="http://www.google.com/about.html">About Google</a>
              </p>
            </div>
          </div>
        
      
</BODY>
</HTML>
